const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    port:8080,
        proxy: {
          '/RestfulApi': {
              target: 'http://101.43.135.220:8086',
              changeOrigin: true,
              // ws: true,
              // pathRewrite: {
              //     '^/api': ''
              // }
            }
        },
        proxy: {
          '/app': {
            target: 'http://iot.0531yun.cn/wsjc',
            changeOrigin: true,
          }
        }
  },
})